<div class="foot">
    <nav class="mui-bar mui-bar-tab">
        <a class="mui-tab-item" href="${base}/index.html">
				<span class="mui-icon navIcon">
					<i class="icon iconfont icon-shouye"></i>
				</span>
            <span class="mui-tab-label navTxt">首页</span>
        </a>
        <a class="mui-tab-item" href="${base}/sigin2">
				<span class="mui-icon navIcon">
					<span class="mui-badge" id="myordercount">0</span>
					<i class="icon iconfont icon-fabu"></i>
				</span>
            <span class="mui-tab-label navTxt">发布</span>
        </a>
        <a class="mui-tab-item" href="${base}/myhome/index.html">
				<span class="mui-icon navIcon">
					<i class="icon iconfont icon-wode"></i>
				</span>
            <span class="mui-tab-label navTxt">我的</span>
        </a>
    </nav>
</div>

<script type="text/javascript">
    mui.ajax(base+"/order/mySendOrderCount",{
        dataType:'json',//服务器返回json格式数据
        headers:{'Content-Type':'application/x-www-form-urlencoded'},
        type:'post',//HTTP请求类型
        timeout:10000,//超时时间设置为10秒；
        success:function(data){
            $("#myordercount").text(data.data||0);
        }
    });
</script>